<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="renderer"  content="webkit">
  <title><{$sitename}></title>
  <link href="{$sitlogoico}" rel="shortcut icon" type="image/x-icon">
  <link rel="stylesheet" href="__STATIC__/tongycjs/layui/css/layui.css?v=v2.5.4">
  <link rel="stylesheet" href="__STATIC__/tongycjs/css/comm.css?v=v2.0.0">
  <link rel="stylesheet" href="/static/tongycjs/font-awesome/css/font-awesome.min.css?v=v4.7.0" type="text/css">
  <link href="__STATIC__/tongycjs/css/jquery.treetable.css" rel="stylesheet" type="text/css" />
  <script type="text/javascript" src="__STATIC__/tongycjs/js/jquery-1.12.4.min.js"></script>
  <script type="text/javascript" src="__STATIC__/tongycjs/js/jquery.treetable.js"></script>
  <style>
	.page-numbar li{display: inline-block;}
	.page{float: right;}
</style>
</head>
<body class="layui-layout-body">
<!--定义部分地址方便JS调用-->
<div style="display: none">
	<span id="controller" data-controller="<{$contraction}>"></span>
	<span id="url" data-url="<{$thisurl}>"></span>
	<span id="preurl" data-preurl="/supplier.php"></span>
	<span id="sitedir" data-sitedir="/"></span>
	<span id="mcode" data-mcode="<{$mcode}>"></span>
</div>
<div class="layui-layout layui-layout-admin">
  <div class="layui-header">
    <div class="layui-logo">
    <a href="<{:url('Index')}>">
     后台管理系统
    </a>
    </div>
    <ul class="menu">
    	<li class="menu-ico" title="显示或隐藏侧边栏"><i class="fa fa-bars" aria-hidden="true"></i></li>
	</ul>
    <ul class="layui-nav layui-layout-right">
    
       <li class="layui-nav-item layui-hide-xs">
      	 <a href="/" target="_blank"><i class="fa fa-home" aria-hidden="true"></i> 网站主页</a>
       </li>

       <li class="layui-nav-item layui-hide-xs">
       		<a href="<{:url('Index/clearCache')}>"><i class="fa fa-trash-o" aria-hidden="true"></i> 清理缓存</a>
       </li>
	  <li class="layui-nav-item layui-hide-xs">
	    <a href="<{:url('Login/logout')}>"><i class="fa fa-sign-out" aria-hidden="true"></i> 退出登录</a>
	  </li>
       <li class="layui-nav-item layui-hide-xs">
	        <a href="javascript:;">
	          <i class="fa fa-user-circle-o" aria-hidden="true"></i> <{$user_info['realname']}>
	        </a>
	        <dl class="layui-nav-child">
	          <dd><a href="<{:url('Index/ucenter')}>"><i class="fa fa-address-card-o" aria-hidden="true"></i> 资料修改</a></dd>
	        </dl>
      </li>
    </ul>
  </div>  
  <div class="layui-side layui-bg-black">
    <div class="layui-side-scroll">
      <ul class="layui-nav layui-nav-tree" id="nav" lay-shrink="all">
		 <li class="layui-nav-item nav-item ">
			<a class="" href="javascript:;"><i class="fa fa-globe" aria-hidden="true"></i>全局配置</a>
			<dl class="layui-nav-child">
				 <dd><a href="/supplier.php/Modelm/index"><i class="fa fa-codepen" aria-hidden="true"></i>模型管理</a></dd>
				  <dd><a href="/supplier.php/wholetype/index"><i class="fa fa-codepen" aria-hidden="true"></i>系统分类</a></dd>
				 <dd><a href="/supplier.php/Extfiel/index"><i class="fa fa-external-link" aria-hidden="true"></i>模型字段</a></dd>
			</dl>
        </li>
		 <li class="layui-nav-item nav-item ">
          <a class="" href="javascript:;"><i class="fa fa-sliders" aria-hidden="true"></i>基础内容</a>
          <dl class="layui-nav-child">
			<dd><a href="/supplier.php/Site/index"><i class="fa fa-cog" aria-hidden="true"></i>站点信息</a></dd>
	         <dd><a href="/supplier.php/Company/index"><i class="fa fa-copyright" aria-hidden="true"></i>公司信息</a></dd>
	          <dd><a href="/supplier.php/Sorttype/index"><i class="fa fa-bars" aria-hidden="true"></i>内容栏目</a></dd>
			</dl>
        </li>
		<li class="layui-nav-item nav-item ">
			<a class="" href="javascript:;"><i class="fa fa-file-text-o" aria-hidden="true"></i>文章内容</a>
			<dl class="layui-nav-child">
				<dd><a href="/supplier.php/Single/index/mcode/1"><i class="fa fa-file-text-o" aria-hidden="true"></i>单页内容</a></dd>				
				<{volist name="lanmulist" id="val"}>
				<{if condition="$val.mcode !=1"}>
				<dd><a href="/supplier.php/Content/index/mcode/<{$val.mcode}>"><i class="fa fa-file-text-o" aria-hidden="true"></i><{$val.name}>管理</a></dd>
				<{/if}>
				<{/volist}>
			</dl>
		</li>
		<li class="layui-nav-item nav-item ">
			<a class="" href="javascript:;"><i class="fa fa-arrows-alt" aria-hidden="true"></i>扩展内容</a>
			<dl class="layui-nav-child">
				<dd><a href="/supplier.php/Slide/index"><i class="fa fa-picture-o" aria-hidden="true"></i>幻灯图片</a></dd>
				<!--<dd><a href="/supplier.php/Links/index"><i class="fa fa-link" aria-hidden="true"></i>友情链接</a></dd>--->
				<dd><a href="/supplier.php/Message/index"><i class="fa fa-link" aria-hidden="true"></i>留言管理</a></dd>
				
			</dl>
		</li>
		<li class="layui-nav-item nav-item ">
			<a class="" href="javascript:;"><i class="fa fa-cog" aria-hidden="true"></i>系统管理</a>
			<dl class="layui-nav-child">
				<dd><a href="/supplier.php/User/index"><i class="fa fa-users" aria-hidden="true"></i>系统用户</a></dd>
			</dl>
        </li>
		<li style="height:1px;background:#666" class="layui-hide-sm"></li>
		<li class="layui-nav-item layui-hide-sm">
          <a href="<{:url('Index/ucenter')}>"><i class="fa fa-address-card-o" aria-hidden="true"></i>资料修改</a>
        </li>        
        <li class="layui-nav-item layui-hide-sm">
         <a href="<{:url('Index/clearCache')}>"><i class="fa fa-trash-o" aria-hidden="true"></i> 清理缓存</a>
        </li>        
      </ul>
    </div>
  </div>